package com.bianqian.demo.dto;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 同步笔记请求DTO
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SyncNotesRequest {
    
    @NotNull(message = "笔记列表不能为空")
    private List<NoteSyncDto> notes;
}